package com.example.common.exception;

/**
 * <p>
 *
 * </p>
 *
 * @author zyred
 * @since v 0.1
 **/
public class NoStockException extends RuntimeException {

    public NoStockException(String name) {
        super("商品：["+name+"]没有足够的库存了!");
    }

    public NoStockException(String ext, String msg) {
        super(msg);
    }
}
